<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        #app{
            margin: 50px;
        }
        .title{
            font-weight: bold;
            margin: 50px 0;
            text-align: center;
            font-size: 20px;
        }
        .block{
            margin: 50px 0;
        }
        .block input{
            height: 40px;
            width: 100%;
            border: none;
            outline: none;
            background-color: #f5f5f5;
            padding-left: 20px;
            border-radius: 20px;
            box-sizing: border-box;
        }
        .block .denglu{
            width: 80%;
            padding: 0;
            text-align: center;
            background-color: hotpink;
            margin-left: 10%;
        }
        .placeholder{
            width: 100%;
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            color: skyblue;
        }
        .radio{
            margin-top: 20px;
        }
        .teshu{
            color: skyblue;
        }
    </style>
</head>
<body>
    
    <div id="app">
        <div class="title">密码登录</div>
        <div class="block">
            <input type="text" placeholder="账号" v-model="phone">
        </div>
        <div class="block">
            <input type="password" placeholder="密码" v-model="pass">
        </div>
        <div class="block">
            <input type="button" value="登陆" @click="login" class="denglu">
        </div>
        <div class="placeholder">
            <span>手机号登录</span>
            <span>忘记密码</span>
        </div>
        <input type="radio" class="radio">已阅读并同意<span class="teshu">《用户隐私协议》</span>
    </div>
    
    <script src="./vue-2.5.21.js"></script>
    <script src="./index-输入框的绑定-登陆.js"></script>
</body>
</html>